package com.zhenwei.zscm.mappings;

import com.zhenwei.zscm.entity.ShippingMaterialEntity;
import com.zhenwei.zscm.model.dto.shipping.ShippingMaterialDTO;
import com.zhenwei.zscm.model.vo.shipping.ShippingMaterialVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface ShippingMaterialMapping {
    ShippingMaterialMapping INSTANCE = Mappers.getMapper(ShippingMaterialMapping.class);
    ShippingMaterialEntity vo2Entity(ShippingMaterialVO vo);
    ShippingMaterialDTO entity2Dto(ShippingMaterialEntity entity);
    ShippingMaterialEntity dto2Entity(ShippingMaterialDTO dto);
}
